﻿using System.Windows.Controls;
using HSS.Interlink.UI;

namespace HSS.Interlink.Client.SL5.TestApp
{
	public partial class MainPage : UserControl
	{
		public MainPage()
		{
			InitializeComponent();
		}

		private void uploadControl_ViewFileDetails(object sender, ViewFileDetailsEventArgs e)
		{
			var dlg = new CustomFileDetail();
			dlg.File = e.File;
			dlg.Show();
		}

		private void uploadControl_GetMetadata(object sender, GetMetadataEventArgs e)
		{
			e.Metadata = e.FileName;
		}
	}
}
